<?php
return [
    'bootstrap' => [
        'debug',
        'gii'
    ],
    'components' => [
        'request' => [
            // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
            'cookieValidationKey' => ''
        ]
    ],
    'modules' => [
        'debug' => [
            'class' => 'yii\debug\Module'
        ],
        'gii' => [
            'class' => 'yii\gii\Module',
            'generators' => [
                'crud' => [
                    'class' => 'yii\gii\generators\crud\Generator',
                    'templates' => [
                        'yii2center-backend' => Yii::getAlias('@backend/views/_gii/templates')
                    ],
                    'template' => 'yii2center-backend',
                    'messageCategory' => 'backend'
                ]
            ]
        ]
    ]
];
